package com.jeecg.p3.system.poster.dao;

import com.jeecg.p3.system.poster.entity.PosterType;
import org.apache.ibatis.annotations.Param;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persistence.GenericDao;

import java.util.List;

public interface PosterTypeDao extends GenericDao<PosterType> {

    public Integer count(PageQuery<PosterType> pageQuery);

    public List<PosterType> queryPageList(PageQueryWrapper<PosterType> wrapper);

    public PosterType findByCode(@Param("code") String code);
}
